<template>
  <el-container class="lay-container">
    <div class="aside">
      <common-aside/>
    </div>
    <el-container class="right">
      <el-header>
        <common-header/>
      </el-header>
      <common-tag/>
      <el-main class="right-main">
        <router-view/>
      </el-main>
    </el-container>
  </el-container>
</template>
<script name="Main"> import CommonAside from "@/components/CommonAside.vue";
import CommonHeader from "@/components/CommonHeader.vue";
import CommonTag from "@/components/CommonTab.vue";
import {defineComponent} from "vue";

export default defineComponent(
    {components: {CommonTag, CommonHeader, CommonAside}
    })
</script>
<style lang="less" scoped>
.common-layout, .lay-container {
  height: 100%;
}
.right {
  margin-left: 180px;
}
.el-header {
  background-color: #333;
}

</style>